package cang.string.Day02;

public class Demo08 {
    public static void main(String[] args) {
        /**
         * 将字符串按照正则匹配的位置劈开
         */
        String str = "1,老王,，,15610101234,tom@tedu.com";
        String[] data = str.split(",");
        System.out.println(data[0]);
        System.out.println(data[1]);
        System.out.println(data[2]);
        System.out.println(data[3]);

    }
}
